package com.tongcao.cn.spring.dpc;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author:tongcao
 * @since:2019/7/8 11:29
 * Description:
 */
public class Test {



    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("beans/spring-application.xml");
        System.out.println(context.getBean("a", StudentA.class));
    }
}